package com.kwin.concumer.controller;

import com.kwin.producer.api.TestApi;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : wangkai
 * @version V1.0
 * @Package com.kwin.concumer.controller
 * @Description:
 * @date 2021年08月03日 9:58
 **/
@Slf4j
@RestController
public class TestController {
    
    @Autowired
    private TestApi testApi;
    
    @GetMapping("/test")
    public String test() {
        return testApi.test(12) + "";
    }
}
